package com.dfrobot.demo.domain.entity;

import java.math.BigDecimal;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "order_product")
public class OrderProduct {
    @Id
    @Column(name = "order_product_id")
    private Integer orderProductId;

    @Column(name = "order_id")
    private Integer orderId;

    @Column(name = "product_id")
    private Integer productId;

    private String name;

    private String model;

    private Integer quantity;

    private BigDecimal price;

    private BigDecimal total;

    private BigDecimal tax;

    private Integer reward;

    /**
     * 套餐信息1
     */
    //private String package;
}